<?php /* Smarty version 2.6.14, created on 2007-07-22 00:53:57
         compiled from Diamond.tpl */ ?>
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0" class="i_table">
  <tr class="head">
    <td width="971">&nbsp;钻石商铺</td>
  </tr>
  <tr >
    <td>
      <table align="center">
        <tr> <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['aDiamond']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?>
            <td width="120" align="center"><?php if ($this->_tpl_vars['aDiamond'][$this->_sections['key']['index']][1] == '0'): ?>此位招租<?php else: ?><a href="index.php?act=sd&SHOP_ID=<?php echo $this->_tpl_vars['aDiamond'][$this->_sections['key']['index']][0]; ?>
"><img src="<?php echo $this->_tpl_vars['aDiamond'][$this->_sections['key']['index']][2]; ?>
" border="0" ><br>
            <?php echo $this->_tpl_vars['aDiamond'][$this->_sections['key']['index']][1]; ?>
</a><?php endif; ?> </td>
            <?php endfor; endif; ?> </tr>
    </table></td>
  </tr>
</table>